let evaluationAnalysisTool = {
  namespaced: true,
  state: {
    moduleMenuList: [
      {
        id: 1,
        name: "智能模型集成环境镜像管理",
        nameEn: "algorithmReleaseEnvironmentImageManagement",
        icon: "evaluation-task",
      },
      // {
      //   id: 2,
      //   name: "算法服务化发布在线开发调试",
      //   nameEn: "onlineDevelopmentDebuggingAlgorithmRelease",
      //   icon: "evaluation-overview",
      // },
      {
        id: 2,
        name: "智能模型算法管理",
        nameEn: "algorithmReleaseSchedulingManagement",
        icon: "statistic-analysis",
      },
    ],
    right_menuList: {
      rightMenuList_1: [
        // 筛选右侧+的展开菜单
        {
          id: 1,
          name: "新增分类",
          icon: "create-directory",
          i18nName: "newFolder",
        },
      ],
      rightMenuList_2: [
        // 树节点类型为folder的...展开菜单
        {
          id: 1,
          name: "添加子目录",
          icon: "create-directory",
          i18nName: "addSubdirectory",
        },
        {
          id: 2,
          name: "新增指标体系",
          icon: "model",
          i18nName: "addIndexSystem",
        },
        {
          id: 3,
          name: "编辑",
          icon: "rename",
          i18nName: "rename",
        },
        {
          id: 4,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],
      rightMenuList_3: [
        // 树节点类型为model的...展开菜单
        {
          id: 1,
          name: "编辑",
          icon: "rename",
          i18nName: "rename",
        },
        {
          id: 2,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],
      rightMenuList_4: [
        // 评估任务树节点类型为folder的...展开菜单
        {
          id: 1,
          name: "添加子目录",
          icon: "create-directory",
          i18nName: "addSubdirectory",
        },
        {
          id: 2,
          name: "新增任务",
          icon: "model",
          i18nName: "addTask",
        },
        {
          id: 3,
          name: "编辑",
          icon: "rename",
          i18nName: "rename",
        },
        {
          id: 4,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],
      rightMenuList_5: [
        // 统计分析...展开菜单
        {
          id: 1,
          name: "删除",
          icon: "delete",
          i18nName: "delete",
        },
      ],
    },
    index: {
      selectedNodeId: 0, // 指标列表中当前选中的节点id
      expandedNodeIds: [], // 指标列表中当前选中的节点id
    },
    task: {
      selectedNodeId: 0, // 任务列表中当前选中的节点id
      expandedNodeIds: [], // 任务列表中当前选中的节点id
    },
    analysis: {
      selectedNodeId: 0, // 分析列表中当前选中的节点id
      expandedNodeIds: [], // 分析列表中当前选中的节点id
    },
  },
  mutations: {
    SET_SELECTED_NODE_ID(state, { moduleName, id }) {
      state[moduleName].selectedNodeId = id;
    },
    SET_EXPANDED_NODE_IDS(state, { moduleName, idList }) {
      state[moduleName].expandedNodeIds = idList;
    },
  },
  actions: {},
};
export default evaluationAnalysisTool;
